//
//  TFDiscoverViewController.swift
//  weiboSina
//
//  Created by admin on 15/12/26.
//  Copyright © 2015年 admin. All rights reserved.
//

import UIKit

class TFDiscoverViewController: TFVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
       
        if userLogon == false{
       visitorView.setupInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
        
        return
        }
        
        
      //添加到navigationItem
        let searchBar = TFDiscoverView.searchBar()
        
        searchBar.frame.size.width = SCREEN_width
        //添加到navigationItem
        navigationItem.titleView = searchBar

    }

    
}
